	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
		<title>广东工业大学招生办-录取统计</title>
				<link rel="stylesheet" type="text/css" href="../css/reset.css" />
			<link rel="stylesheet" type="text/css" href="../css/common.css" />
			<link rel="stylesheet" type="text/css" href="../css/home.css" />
			<link rel="stylesheet" type="text/css" href="../css/page.css" />
			<script type="text/javascript" src="../js/showTime.js"></script>
		<script type="text/javascript" src="../js/jquery.min.js"></script>
		 <script type='text/javascript'>
    loadXML = function(xmlString){
        var xmlDoc=null;
        //判断浏览器的类型
        //支持IE浏览器 
        if(!window.DOMParser && window.ActiveXObject){   //window.DOMParser 判断是否是非ie浏览器
            var xmlDomVersions = ['MSXML.2.DOMDocument.6.0','MSXML.2.DOMDocument.3.0','Microsoft.XMLDOM'];
            for(var i=0;i<xmlDomVersions.length;i++){
                try{
                    xmlDoc = new ActiveXObject(xmlDomVersions[i]);
                    xmlDoc.async = false;
                    xmlDoc.loadXML(xmlString); //loadXML方法载入xml字符串
                    break;
                }catch(e){
                }
            }
        }
        //支持Mozilla浏览器
        else if(window.DOMParser && document.implementation && document.implementation.createDocument){
            try{
                /* DOMParser 对象解析 XML 文本并返回一个 XML Document 对象。
                 * 要使用 DOMParser，使用不带参数的构造函数来实例化它，然后调用其 parseFromString() 方法
                 * parseFromString(text, contentType) 参数text:要解析的 XML 标记 参数contentType文本的内容类型
                 * 可能是 "text/xml" 、"application/xml" 或 "application/xhtml+xml" 中的一个。注意，不支持 "text/html"。
                 */
                domParser = new  DOMParser();
                xmlDoc = domParser.parseFromString(xmlString, 'text/xml');
            }catch(e){
            }
        }
        else{
            return null;
        }

        return xmlDoc;
    }
	</script>
		 <script language="javascript" >
		 var xmlDoc;
			function currentTime(){
				var d = new Date(),str = '';
				 str += d.getFullYear()+'年';
				 str  += d.getMonth() + 1+'月';
				 str  += d.getDate()+'日';
				return str;
			}
			
			$(document).ready(function(){
			if (location.href.indexOf("msg") != -1) {
				         alert("暂无结果");     
				} 
			
				stayValue("year",4);
				stayValue("province",2);
				stayValue("type",2);
				
				var str = window.location.href;
				var es = /type=/;
				es.exec(str);
				var right=RegExp.rightContext;
				//alert(right);
				if (right == 06){
					$(".science").css("display","none");
					$(".science").remove();
				}else{
					$(".art").css("display","none");
					$(".art").remove();
				}
				$('#yearSpan').text($("#year  option:selected").text());
				$('#provinceSpan').text($("#province  option:selected").text());
				$('#typeSpan').text($("#type  option:selected").text());
				$("#today").text(currentTime());
				$.post("./../base/recruitment-detail!visitorCount.action", "id=###recruitment_id###" ,function callback(text){
             		$("#visitor").text(text);
             	});
             	
             	 $.post("./../base/recruitment-detail!getSelectOption.action", "" ,function callback(text){
            		$("#year").empty();//
            		$("#province").empty();//
            		$("#type").empty();//
            		$('<option value="none">年份</option>').appendTo('#year');
            		$('<option value="none">省份</option>').appendTo('#province');
            		$('<option value="none">科类</option>').appendTo('#type');

             		xmlDoc = loadXML(text);
             		var years = xmlDoc.getElementsByTagName("root")[0].getElementsByTagName("years");
             		var year = years[0].getElementsByTagName("year");
             		for (var i = 0; i < year.length; i++) {
             			var yy = year[i].getElementsByTagName("name")[0].firstChild.nodeValue;
             			$('<option value="'+yy+'">'+yy+'</option>').appendTo('#year');
             		}
             		stayValue("year",4);
             		yearChange();
             		stayValue("province",2);
             		provinceChange();
             		stayValue("type",2);
        		
             	
             	
					}); 
             	});
			
            
		
			function yearChange(){
				$("#province").empty();//
           		$("#type").empty();//
           		$('<option value="none">省份</option>').appendTo('#province');
           		$('<option value="none">科类</option>').appendTo('#type');
				var years = xmlDoc.getElementsByTagName("root")[0].getElementsByTagName("years");
           		var year = years[0].getElementsByTagName("year");
           		
             	for (var i = 0; i < year.length; i++) {
           			
           			var yy = year[i].getElementsByTagName("name")[0].firstChild.nodeValue;
           			
           			if(document.getElementById("year").value == yy ){
           			
           				var provinces = year[i].getElementsByTagName("provinces");
           				var province = provinces[0].getElementsByTagName("province");
           				for(var j = 0;j<province.length;j++){
           					
           					$('<option value="'+province[j].getElementsByTagName("provincekey")[0].firstChild.nodeValue+'">'+province[j].getElementsByTagName("provincevalue")[0].firstChild.nodeValue+'</option>').appendTo('#province');
           				}
           				
           			
           			}
           			
           		}  
			}
			
			function provinceChange(){
				$("#type").empty();//
           		$('<option value="none">科类</option>').appendTo('#type');
				var years = xmlDoc.getElementsByTagName("root")[0].getElementsByTagName("years");
           		var year = years[0].getElementsByTagName("year");
             	for (var i = 0; i < year.length; i++) {
           			var yy = year[i].getElementsByTagName("name")[0].firstChild.nodeValue;
           			if(document.getElementById("year").value == yy ){
           				var provinces = year[i].getElementsByTagName("provinces");
           				var province = provinces[0].getElementsByTagName("province");
           				for(var j = 0;j<province.length;j++){
           					if(province[j].getElementsByTagName("provincekey")[0].firstChild.nodeValue == document.getElementById("province").value){
           						var types = province[j].getElementsByTagName("types");
           						var type = types[0].getElementsByTagName("type");
           						for(var k = 0;k<type.length;k++){
           							$('<option value="'+type[k].getElementsByTagName("typekey")[0].firstChild.nodeValue+'">'+type[k].getElementsByTagName("typevalue")[0].firstChild.nodeValue+'</option>').appendTo('#type');
           						}
           					}
           				}
           			}
           			
           		}  
			}
		</script>
		<script type="text/javascript">
			function check(){
				var year = document.getElementById("year").value;
				var province = document.getElementById("province").value;
				var type = document.getElementById("type").value;
				if(year=="none"){
					alert("请选择年份");
				}else if(province=="none"){
					alert("请选择省份");
				}else if(type=="none"){
					alert("请选择科类");
				}else{
					return true;
				}
				return false;
			}
			
			//查询跳转后保留当前选择
			function stayValue(value, vallength){
				var vhref=location.href;
				var index=vhref.indexOf(value);
				if(index != -1){
					var subvalue=vhref.substr(index+value.length+1,vallength);
				}
				$("[value='"+subvalue+"']").each(function(){
					if($(this).parent().attr("id")==value){
						$(this).attr("selected","selected");
						
					}
				});				
			}
			
		
		</script>
	</head>
	<body>
		<div class="wrapper">
			<!--header-->
			<div id="header" class="auto">
				<div class="header-content w960 auto rel">
					<!-- <span class="r mt20 mr10">欢迎您！今天是<span id="today" ></span></span> -->
					<span class="r mt20 mr10" id="time"></span>
					<div style="clear:both;"></div>
				<div class="r" style="width:210px; margin-right:10px;">建议使用360浏览器6.0以上版本或IE8以上版本浏览</div>
					<span class="abs mt60 ml70"><a href="../index.html">Home</a>&nbsp;|&nbsp;<a href="#">Site</a></span>
				</div>
			</div>
			<!--nav-->
			<div id="nav" class="auto">
				<div class="menu-list w960 auto f16 rel">
					<ul>
					<li><a href="../base/notice.action">招办公告</a></li>
					<li><a href="../base/admission-policy.action">招生政策</a></li>
					<li><a href="../base/enroll-detail!entry.action">招生计划</a></li>
					<li><a href="../base/recruitment-detail!entry.action">录取统计</a></li>
					<li><a href="../base/message!list.action">在线咨询</a></li>
					<li><a href="../base/school-intr!input.action?type=010">学校概况</a></li>
					<li><a href="../base/academy!list.action">院系介绍</a></li>
					<li><a href="../base/environment!checkOnlineConsult.action">校园生活</a></li>
					<li><a href="../base/teacher-view!checkConsult.action">名师介绍</a></li>
					</ul>
				</div>
			</div>

		<!--main-content-->
		<div id="main-content-child-page" class="w960 auto">
			<!--Breadcrumb Trail-->
			<div class="breadcurmb-trail mt5 mb10">
				您的位置：<a href="../index.html">网站首页</a>-录取统计-录取情况表
			</div>
			<div class="content clearfix">
				<div class="f16 pt10 pb10 ml20 mr20 mb20 tc tip"><a class="red">温馨提示：</a>请选择“年份”、“省份”、“科类”搜索，查看详细录取统计情况</div>
				<div class="content-title f20 rel l">
					###title###
				</div>
				<div class="content-pic1 rel"></div>
				<div class="content-pic2 rel"></div>
				<div class="content-pic3 rel l"></div>	
				<form name="admissionList" id="admissionList" action="../base/recruitment-detail.action" method="post" onsubmit="return check()">
						<div class="search r" style="margin-top:-20px">
							<select name="year"  onchange="yearChange()"  id="year">
							<option value="none">年份</option>
							  ###selectyear###
							</select>
							<select name="province"   id="province" onchange="provinceChange()"  style="width:80px;">
							<option value="none" >省份</option>
							 ###selectprovince###
							</select>
							<select name="type" id="type" style="width:80px;">
							<option value="none">科类</option>
							  ###selecttype###
							</select>
							<input type="submit" class="search-button" value="确定"/>
						</div>
					</form>	
	
					<div class="admission-print-time f10 rel l">
						发表日期：###postdate###&nbsp;&nbsp;编辑：###inputby###&nbsp;&nbsp;有<span id="visitor" ></span>位读者读过此文
					</div>
					<br/>
					<div class="admission-print-time f18 rel l red">
						<span class='science'style="display:"><span id="yearSpan" ></span><span id="provinceSpan" ></span><span id="typeSpan" ></span >:一本线###firstLine###;  &nbsp;&nbsp;  二本线 ###secondLine###;  &nbsp;&nbsp;  投档线###toudangLine###</span>
					</div>
					<div class="search-txt"></div>
					<div class="content-list rel f14">
					<table class="admission-table ml20 tc">
							<tr>
								<th width="48px">序号</th>
								<th width="164px">学院</th>
								<th width="242px">专业名称</th>
								<th width="60px"  >录取数</th>
								<th width="60px"  class='science'style="display:">最高分</th>
								<th width="60px" class='science'style="display:">平均分</th>
								<th width="60px" class='science'style="display:">最低分</th>
								<th width="110px" class='art'style="display:">按文化录最低分</th>
								<th width="110px" class='art'style="display:">按术科录最低分</th>
								<th width="110px" style="display:">备注</th>
							 </tr>
							 ###area###
						</table>
					</div>
					<div class="next-page tc f14 mt40 pb20">
						###pagenum###
						
					</div>
				</div>
			</div>
			<div style="width:960px;height:20px; background:#e5e5e5"></div>
		<!--footer-->
		<div id="footer" class="mt20 auto rel">
			<div class="footer-content w960 auto">
				<div class="footer-content-left l">
					<img src="../images/footerPic.png"  class="mt10"/>
				</div>              
                <div class="footer-content-right f14 auto pt10">
					<table>
					<tr>					
						<td width="150px"><a href="http://www.gdut.edu.cn/" target="_blank">广东工业大学首页</a></td>
						<td width="150px"><a href="http://jdgcxy.gdut.edu.cn/" target="_blank">机电工程学院</a></td>
						<td width="150px"><a href="http://automation.gdut.edu.cn/" target="_blank">自动化学院</a></td>
						<td width="150px"><a href="http://qghgxy.gdut.edu.cn/" target="_blank">轻工化工学院</a></td></tr>
					<tr>
						<td><a href="http://xxgcxy.gdut.edu.cn/" target="_blank">信息工程学院</a></td>
						<td><a href="http://web.gdut.edu.cn/~jsxy/" target="_blank">土木与交通工程学院</a></td>
						<td><a href="http://glxy.gdut.edu.cn/" target="_blank">管理学院</a></td>
						<td><a href="http://jsjxy.gdut.edu.cn/" target="_blank">计算机学院</a></td></tr>
					<tr>
						<td><a href="http://clnyxy.gdut.edu.cn/" target="_blank">材料与能源学院</a></td>
						<td><a href="http://hkxy.gdut.edu.cn/" target="_blank">环境科学与工程学院</a></td>
						<td><a href="http://wgyxy.gdut.edu.cn/" target="_blank">外国语学院</a></td>
						<td><a href="http://yysxxy.gdut.edu.cn/" target="_blank">应用数学学院</a></td></tr>
					<tr>
						<td><a href="http://wlgdxy.gdut.edu.cn/" target="_blank">物理与光电工程学院</a></td>
						<td><a href="http://yssjxy.gdut.edu.cn/" target="_blank">艺术设计学院</a></td>
						<td><a href="http://zfxy.gdut.edu.cn/" target="_blank">政法学院</a></td>
						<td><a href="http://arc.gdut.edu.cn/" target="_blank">建筑与城市规划学院</a></td></tr>				
					<tr>
						<td><a href="http://jmxy.gdut.edu.cn/" target="_blank">经济与贸易学院</a></td>
						<td><a href="http://shxy.gdut.edu.cn" target="_blank">商学院</a></td>
						</tr>
					</table>
				</div>               
			</div>
			<div class="copyright abs white">
            地址：广州市番禺区广州大学城外环西路100号(510006)&nbsp;&nbsp;&nbsp;&nbsp;版权所有: 广东工业大学招生办&nbsp;&nbsp;&nbsp;&nbsp;技术支持：广州创易谷网络科技有限公司&nbsp;&nbsp;&nbsp;&nbsp;<a href="../admin" target="_blank" class="white">网站管理</a>
            </div>
		</div>	
		</div>	
	</body>	
	</html>